package com.shujia.interfacer;

public class KeyValue<KEY,VALUE> {
    private KEY key;
    private VALUE value;

    public KeyValue() {
    }

    @Override
    public String toString() {
        return "KeyValue{" +
                "key=" + key +
                ", value=" + value +
                '}';
    }

    public KEY getKey() {
        return key;
    }

    public void setKey(KEY key) {
        this.key = key;
    }

    public VALUE getValue() {
        return value;
    }

    public void setValue(VALUE value) {
        this.value = value;
    }

    public KeyValue(KEY key, VALUE value) {
        this.key = key;
        this.value = value;
    }
}
